package edu.hubu.work01.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class Cow {
    private int cowId;
    private int cowAge;
    private String cowSex;
    private String cowRemark;
    private int cshdId;

    public int getCowId() {
        return cowId;
    }

    public void setCowId(int cowId) {
        this.cowId = cowId;
    }

    public int getCowAge() {
        return cowAge;
    }

    public void setCowAge(int cowAge) {
        this.cowAge = cowAge;
    }

    public String getCowSex() {
        return cowSex;
    }

    public void setCowSex(String cowSex) {
        this.cowSex = cowSex;
    }

    public String getCowRemark() {
        return cowRemark;
    }

    public void setCowRemark(String cowRemark) {
        this.cowRemark = cowRemark;
    }

    public int getCshdId() {
        return cshdId;
    }

    public void setCshdId(int cshdId) {
        this.cshdId = cshdId;
    }

    @Override
    public String toString() {
        return "Cow{" +
                "cowId=" + cowId +
                ", cowAge=" + cowAge +
                ", cowSex='" + cowSex + '\'' +
                ", cowRemark='" + cowRemark + '\'' +
                ", cshdId=" + cshdId +
                '}';
    }
}
